Method for calibrating an imaging device and an imaging device

ABSTRACT

A method for calibrating an imaging device includes calculating attitude information of the imaging device relative to a screen based at least in part on an image captured by the imaging device, generating a calibration signal based at least in part on the attitude information, displaying the calibration signal on the screen, and displaying a guiding signal on the screen.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation application of U.S. application Ser.No. 15/885,092, filed on Jan. 31, 2018, which is a continuationapplication of International Application No. PCT/CN2016/079377, filed onApr. 15, 2016, which claims priority to Chinese Application No.201510465829.3, filed on Jul. 31, 2015, entitled “A METHOD FORCALIBRATING AN IMAGING DEVICE AND AN IMAGING DEVICE,” the entirecontents of all of which are incorporated herein by reference.

TECHNICAL FIELD

The disclosure relates to computer vision technology, and moreparticularly to a method for calibrating an imaging device and animaging device.

BACKGROUND OF THE DISCLOSURE

An imaging device can be calibrated by appropriately placing acheckerboard in front of the imaging device and moving the checkerboardfollowing a certain rule. A technician decides a direction of moving thecheckerboard according to a theory, collects a certain number of imagesand calculates a precision of the calibration. The calibration iscompleted if an error falling within a certain range.

However, the existing imaging device calibration requires a certainlevel of theoretical knowledge from the technician. The technician movesthe checkerboard based on his/her experience and theory, and an impropermovement of the checkerboard can lead to a failure in calibration or anunacceptable precision. Therefore, an ordinary user having no relatedexperience or theory may not perform the calibration process alone, andthe user may have to spend extra time and effort in learning andpracticing the imaging device calibration.

SUMMARY OF THE DISCLOSURE

The disclosure provides a method for calibrating an imaging device andan imaging device. A calibration signal and a guiding signal can bedisplayed on a screen in calibrating the imaging device, enabling a userhaving no related experience and theory to move the imaging device orthe screen based upon the calibration signal and the guiding signal.Therefore, a difficulty in calibrating the imaging device can bereduced.

In view of the above, a first aspect of the disclosure provides a methodfor calibrating an imaging device. The method can comprise: calculatinga first attitude information of the imaging device relative to a screenfrom a first set of images captured by the imaging device, each image inthe first set of images comprising a checkerboard information which isentirely or partially displayed on the screen; generating a firstcalibration signal from the first attitude information, and displayingthe first calibration signal on a checkerboard on the screen; anddisplaying a guiding signal on the screen, such that a user moves theimaging device or the screen in accordance with the guiding signal.

In connection with the first aspect of the disclosure, in a firstembodiment of the first aspect of the disclosure, the method can furthercomprise, before displaying the guiding signal on the screen: generatingthe guiding signal based upon a predetermined strategy and/or the firstattitude information.

In connection with the first embodiment of the first aspect of thedisclosure, in a second embodiment of the first aspect of thedisclosure, generating the guiding signal based upon the predeterminedstrategy and/or the first attitude information can comprise: obtaining asecond attitude information based upon a preset calibration path and thefirst attitude information, and generating the guiding signal from thesecond attitude information.

In connection with the first embodiment of the first aspect of thedisclosure, in a third embodiment of the first aspect of the disclosure,generating the guiding signal based upon the predetermined strategyand/or the first attitude information can comprise: generating a dynamiccalibration path based upon a dynamic path generation rule and the firstcalibration signal, obtaining a second attitude information based uponthe dynamic calibration path and the first attitude information, andgenerating the guiding signal from the second attitude information.

In connection with the first aspect of the disclosure, in a fourthembodiment of the first aspect of the disclosure, the method can furthercomprise, before calculating the first attitude information of theimaging device relative to the screen from the first set of imagescaptured by the imaging device: capturing the first set of images from acamera pointing to the screen.

In connection with the first aspect of the disclosure, in a fifthembodiment of the first aspect of the disclosure, the method can furthercomprise, before generating the first calibration signal from the firstattitude information: analyzing each image in the first set of images toextract corner point arrays; determining whether the first set of imagessatisfy a calibration requirement based upon each one of the cornerpoint arrays; and saving the first set of images if the calibrationrequirement is satisfied, or deleting the first set of images if thecalibration requirement is not satisfied.

In connection with the first aspect of the disclosure, in a sixthembodiment of the first aspect of the disclosure, generating the firstcalibration signal from the first attitude information and displayingthe first calibration signal on the screen can comprise: analyzing thefirst attitude information to obtain an attitude data; generating thefirst calibration signal from the attitude data; and displaying thefirst calibration signal on the screen.

In connection with the first aspect of the disclosure, in a seventhembodiment of the first aspect of the disclosure, the method can furthercomprise, after displaying the guiding signal on the screen: when theuser adjusts the imaging device in accordance with the guiding signal,calculating a third attitude information of the imaging device relativeto the screen from a second set of images captured by the imagingdevice, generating a second calibration signal from the third attitudeinformation, and displaying the second calibration signal on the screen.

In connection with the first aspect of the disclosure, in an eighthembodiment of the first aspect of the disclosure, the method can furthercomprise, after displaying the guiding signal on the screen: when theuser adjusts the imaging device in accordance with the guiding signal,calculating a third attitude information of the imaging device relativeto the screen from a second set of images captured by the imagingdevice, generating a second calibration signal from the third attitudeinformation, and displaying the second calibration signal on the screen;and generating a new guiding signal from the second set of images or thethird attitude information.

In connection with the first aspect of the disclosure, as well as thefirst, second, third, fourth, fifth, sixth, seventh or eighth embodimentof the first aspect of the disclosure, in a ninth embodiment of thefirst aspect of the disclosure, the first set of images can be imagesfor calibration containing the checkerboard.

In connection with the first aspect of the disclosure, as well as thefirst, second, third, fourth, fifth, sixth, seventh or eighth embodimentof the first aspect of the disclosure, in a tenth embodiment of thefirst aspect of the disclosure, the imaging device can be a monocularcamera, a binocular camera or a multocular camera. The monocular cameracan be calibrated using one image, the binocular camera can becalibrated using two images, and the multocular camera can be calibratedusing a plurality of images.

In connection with the first aspect of the disclosure, as well as thefirst, second, third, fourth, fifth, sixth, seventh or eighth embodimentof the first aspect of the disclosure, in an eleventh embodiment of thefirst aspect of the disclosure, the first attitude information cancomprise a position information of a first image and a distanceinformation from the imaging device to the screen. The positioninformation of the first image can comprise a position of a center ofthe monocular camera, the binocular camera or the multocular camera andrespective positions of lenses of the binocular or multocular imagingdevice.

In connection with the eleventh embodiment of the first aspect of thedisclosure, in a twelfth embodiment of the first aspect of thedisclosure, the first guiding signal can be provided with a ring shapehaving a diameter corresponding to the distance information from theimaging device to the screen.

In connection with the eleventh embodiment of the first aspect of thedisclosure, in a thirteenth embodiment of the first aspect of thedisclosure, the first guiding signal can be provided with a shapeincluding a dot, a crosshair, a polygon or a combination thereof.

In connection with the tenth embodiment of the first aspect of thedisclosure, in a fourteenth embodiment of the first aspect of thedisclosure, the method can further comprise: when the user moves theimaging device in accordance with the guiding signal, capturing aplurality of sets of images for calibration using the imaging device,and saving those sets of images among the plurality of sets of imagesfor calibration satisfying a calibration requirement into a database;and stopping generating the guiding signal and calculating a calibrationprecision if the number of the images for calibration reaches a presetnumber.

A second aspect of the disclosure provides an imaging device. Theimaging device can comprise an attitude information obtaining moduleconfigured to calculate a first attitude information of the imagingdevice relative to a screen from a first set of images captured by theimaging device, each image in the first set of images comprising acheckerboard information which is entirely or partially displayed on thescreen; a calibration signal module configured to generate a firstcalibration signal from the first attitude information and display thefirst calibration signal on the screen; and a guiding signal moduleconfigured to display a guiding signal on the screen, such that a usermoves the imaging device or the screen in accordance with the guidingsignal.

In connection with the second aspect of the disclosure, in a firstembodiment of the second aspect of the disclosure, the imaging devicecan further comprise a guiding signal generating module configured togenerate the guiding signal based upon a predetermined strategy and/orthe first attitude information.

In connection with the first embodiment of the second aspect of thedisclosure, in a second embodiment of the second aspect of thedisclosure, the guiding signal generating module can be configured toobtain a second attitude information based upon a preset calibrationpath and the first attitude information and generate the guiding signalfrom the second attitude information.

In connection with the first embodiment of the second aspect of thedisclosure, in a third embodiment of the second aspect of thedisclosure, the guiding signal generating module can be configured togenerate a dynamic calibration path based upon a dynamic path generationrule and the first calibration signal, obtain a second attitudeinformation based upon the dynamic calibration path and the firstattitude information, and generate the guiding signal from the secondattitude information.

In connection with the second aspect of the disclosure, in a fourthembodiment of the second aspect of the disclosure, the imaging devicecan further comprise an image capturing module configured to capture thefirst set of images from a camera pointing to the screen.

In connection with the second aspect of the disclosure, in a fifthembodiment of the second aspect of the disclosure, the imaging devicecan further comprise an image analyzing module configured to analyzeeach image in the first set of images to extract corner point arrays;determine whether the first set of images satisfy a calibrationrequirement based upon each one of the corner point arrays; and save thefirst set of images if the first set of images satisfy the calibrationrequirement, or delete the first set of images if the first set ofimages do not satisfy the calibration requirement.

In connection with the second aspect of the disclosure, in a sixthembodiment of the second aspect of the disclosure, the calibrationsignal module can be configured to analyze the first attitudeinformation to obtain an attitude data; generate a first calibrationsignal from the attitude data; and display the first calibration signalon the screen.

In connection with the second aspect of the disclosure, in a seventhembodiment of the second aspect of the disclosure, the calibrationsignal module can be further configured to, when the user adjusts theimaging device in accordance with the guiding signal, calculate a thirdattitude information of the imaging device relative to the screen from asecond set of images captured by the imaging device, generate a secondcalibration signal from the third attitude information, and display thesecond calibration signal on the screen.

In connection with the second aspect of the disclosure, in an eighthembodiment of the second aspect of the disclosure, the imaging devicecan further comprise a calibration adjustment module. The calibrationsignal module can be further configured to, when the user adjusts theimaging device in accordance with the guiding signal, calculate a thirdattitude information of the imaging device relative to the screen from asecond set of images captured by the imaging device, generate a secondcalibration signal from the third attitude information, and display thesecond calibration signal on the screen. The calibration adjustmentmodule can be configured to generate a new guiding signal from thesecond set of images or the third attitude information.

In connection with the second aspect of the disclosure, in a ninthembodiment of the second aspect of the disclosure, the imaging devicecan further comprise a calibration precision calculating module. Theimage capturing module can be further configured to, when the user movesthe imaging device in accordance with the guiding signal, capture aplurality of sets of images for calibration using the imaging device,and save those sets of images among the plurality of sets of imagessatisfying a calibration requirement into a database. The calibrationprecision calculating module is configured to stop generating theguiding signal and calculate a calibration precision if the number ofthe images for calibration reaches a preset number.

It will be appreciated that, the technical solutions of the presentdisclosure are advantageous in various aspects. When a user iscalibrating an imaging device, a first attitude information of theimaging device relative to a screen can be calculated from a first setof images captured by the imaging device, a first calibration signal canbe generated from the first attitude information and displayed on acheckerboard on the screen, and a guiding signal can be displayed on thescreen, such that the user can simply move the imaging device inaccordance with the guiding signal. Therefore, a user having no relatedexperience and theory can move a position of the imaging device or thescreen in accordance with the calibration signal and the guiding signal,reducing a difficulty and improving an operability in calibrating theimaging device.

BRIEF DESCRIPTION OF THE DRAWINGS

Technical solutions of embodiments of the disclosure and the prior artwill be described with reference to the accompanying drawings. It willbe apparent to those skilled in the art that, the drawings merelyillustrate some embodiments of the disclosure, and various otherdrawings can be conceived without any inventive effort.

FIG. 1 is a schematic diagram of an example of a method for calibratingan imaging device in accordance with embodiments of the disclosure;

FIG. 2 is a schematic diagram of a checkerboard in accordance withembodiments of the disclosure;

FIG. 3 is a schematic diagram of extracting corner point arrays from acheckerboard in accordance with embodiments of the disclosure;

FIG. 4 is a schematic diagram of a calibration signal displayed on ascreen in accordance with embodiments of the disclosure;

FIG. 5 is a schematic diagram of a calibration signal and a guidingsignal displayed on a screen in accordance with embodiments of thedisclosure;

FIG. 6 is a schematic diagram of an example of an apparatus forcalibrating an imaging device in accordance with embodiments of thedisclosure; and

FIG. 7 is a schematic diagram of another example of an apparatus forcalibrating an imaging device in accordance with embodiments of thedisclosure.

DETAILED DESCRIPTION OF THE DISCLOSURE

Embodiments of the disclosure provide a method and an apparatus forcalibrating an imaging device. A calibration signal and a guiding signalcan be displayed on a screen in calibrating the imaging device, enablinga user having no related experience and theory to move the imagingdevice or the screen based upon the calibration signal and the guidingsignal, such that a difficulty in calibrating the imaging device can bereduced.

A better understanding of the disclosure will be obtained by referenceto the following detailed description that sets forth illustrativeembodiments with reference to the drawings. It will be apparent that,the embodiments described herein are merely provided by way of example.Those skilled in the art can conceive various embodiments in light ofthose disclosed herein without inventive efforts, and all theseembodiments are within the scope of the disclosure.

A detailed description of the disclosure will be provided with referenceto various embodiments.

Referring to FIG. 1, embodiments of the disclosure provide a method forcalibrating an imaging device. In some embodiments, the method cancomprise steps 101 to 103.

In step 101, a first attitude information of the imaging device relativeto a screen can be calculated from a first set of images captured by theimaging device.

In some embodiments of the disclosure, the first attitude information ofthe imaging device relative to the screen can be calculated from thefirst set of images captured by the imaging device while a user iscalibrating the imaging device. Each image in the first set of imagescan comprise a checkerboard information which is entirely or partiallydisplayed on the screen.

In step 102, a first calibration signal can be generated from the firstattitude information, and the first calibration signal can be displayedon a checkerboard on the screen.

In some embodiments of the disclosure, the first calibration signal canbe generated from the first attitude information and displayed on thecheckerboard on the screen, such that the user can learn a currentattitude of the imaging device.

In step 103, a guiding signal can be displayed on the screen.

In some embodiments of the disclosure, the guiding signal can bedisplayed on the screen, such that the user can move the imaging deviceor the screen in accordance with the guiding signal.

In some embodiments of the disclosure, when the user is calibrating theimaging device, the first attitude information of the imaging devicerelative to the screen can be calculated from the first set of imagescaptured by the imaging device. The first calibration signal can begenerated from the first attitude information and displayed on thecheckerboard on the screen. The guiding signal in accordance withinaccordance with the guiding signal. Therefore, a user having no relatedexperience and theory can move a position of the imaging device or thescreen in accordance with the calibration signal and the guiding signal,reducing a difficulty and improving an operability in calibrating theimaging device.

In some embodiments of the disclosure, the method can further comprise,before displaying the guiding signal on the screen, generating theguiding signal based upon a predetermined strategy and/or the firstattitude information.

In some embodiments of the disclosure, generating the guiding signalbased upon the predetermined strategy and/or the first attitudeinformation can comprise obtaining a second attitude information basedupon a preset calibration path and the first attitude information, andgenerating the guiding signal from the second attitude information.Alternatively, generating the guiding signal based upon thepredetermined strategy and/or the first attitude information cancomprise generating a dynamic calibration path based upon a dynamic pathgeneration rule and the first calibration signal, obtaining a secondattitude information based upon the dynamic calibration path and thefirst attitude information, and generating the guiding signal from thesecond attitude information.

In the embodiments of the disclosure, the step of generating the guidingsignal can be performed, such that the technical solution is morefeasible.

In some embodiments of the disclosure, the method can further comprise,before calculating the first attitude information of the imaging devicerelative to the screen based upon the first set of images captured bythe imaging device, capturing the first set of images using a camerapointing to the screen.

In the embodiments of the disclosure, the step of obtaining the firstset of images can be performed, such that the technical solution is morecomplete.

In some embodiments of the disclosure, the method can further comprise,before generating the first calibration signal based upon the firstattitude information, analyzing each image in the first set of images toextract corner point arrays, determining whether the first set of imagessatisfy a calibration requirement based upon each one of the cornerpoint arrays, saving the first set of images if the calibrationrequirement is satisfied or deleting the first set of images if thecalibration requirement is not satisfied.

In the embodiments of the disclosure, a confirmation can be made as towhether the first set of images satisfy the calibration requirement.Therefore, resources wasted in processing incorrect images can bereduced.

In some embodiments of the disclosure, generating the calibration signalbased upon the first attitude information and displaying the calibrationsignal on the screen can comprise analyzing the first attitudeinformation to obtain an attitude data, generating the calibrationsignal from the attitude data, and displaying the calibration signal onthe screen.

In the embodiments of the disclosure, the process of generating thecalibration signal based upon the first attitude information can berefined, making the technical solution more complete.

In some embodiments of the disclosure, the method can further comprise,after displaying the guiding signal on the screen, when the user adjuststhe imaging device in accordance with the guiding signal, calculating athird attitude information of the imaging device relative to the screenfrom a second set of images captured by the imaging device, generating asecond calibration signal from the third attitude information, anddisplaying the second calibration signal on the screen. Alternatively,the method can further comprise, after displaying the guiding signal onthe screen, when the user adjusts the imaging device in accordance withthe guiding signal, calculating a third attitude information of theimaging device relative to the screen based upon a second set of imagescaptured by the imaging device, generating a second calibration signalbased upon the third attitude information, displaying the secondcalibration signal on the screen, and generating a new guiding signalfrom the second set of images or the third attitude information.

In the embodiments of the disclosure, two alternative operations can beperformed based upon the captured second set of images after the usermoves the imaging device in accordance with the guiding signal, makingthe technical solution more complete.

In some embodiments of the disclosure, the method can further comprise:when the user moves the imaging device in accordance with the guidingsignal, capturing a plurality of sets of images for calibration usingthe imaging device, and saving those sets of images among the pluralityof sets of images satisfying a calibration requirement into a database;and stopping generating the guiding signal and calculating a calibrationprecision if the number of the images for calibration reaches a presetnumber.

In the embodiments of the disclosure, the calibration precision can becalculated upon a completion of the calibration process to obtain,making the technical solution more complete.

In some embodiments of the disclosure, the first set of images can beimages for calibration containing the checkerboard.

In some embodiments of the disclosure, the imaging device can comprise amonocular, a binocular or a multocular camera. The imaging device havinga monocular camera can be calibrated using one image. The imaging devicehaving a binocular camera can be calibrated using two images. Theimaging device having a multocular camera can be calibrated using aplurality of images.

In some embodiments of the disclosure, the first attitude informationcan comprise a position information of the first set of images and adistance information from the imaging device to the screen. The positioninformation of the first set of images can comprise a position of acenter of the monocular camera, the binocular camera or the multocularcamera and a respective position of the binocular camera or themultocular camera.

In some embodiments of the disclosure, the first guiding signal can beprovided with a ring shape having a diameter corresponding to thedistance information from the imaging device to the screen.

In some embodiments of the disclosure, the first guiding signal can beprovided with a geometric shape including a dot, a crosshair, a polygonor a combination thereof.

The method for calibrating an imaging device in accordance withembodiments of the disclosure will be described in the context of apractical application scenario.

In some embodiments, the method for calibrating an imaging device can beapplied in an imaging device calibration system. The imaging devicecalibration system can effect a human-computer interaction. The imagingdevice calibration system can comprise an imaging device and a computer.

Once the imaging device is connected with the computer, a checkerboardcan be displayed on a screen of the computer, as shown in FIG. 2. A usercan start the process of calibrating the imaging device by pointing theimaging device to the screen of the computer displaying a checkerboard.It will be appreciated that, the imaging device can be a monocularcamera, a binocular camera or a multocular camera. The first set ofimages can comprise only one image if the imaging device is a monocularcamera. The first set of images can comprise a plurality of images ifthe imaging device is a multocular camera, the number of the imagesbeing equal to the number of lenses of the multocular camera. In someembodiments, the first set of images as shown in FIG. 2 can be capturedby the imaging device. The corner point arrays as shown in FIG. 3 can beextracted from the checkerboard in the first set of images. Adetermination can be made as to whether the first set of images satisfya calibration requirement based upon the corner point arrays. The firstset of images can be deleted if the calibration requirement is notsatisfied; otherwise, the first set of images can be saved if thecalibration requirement is satisfied. A current attitude of the imagingdevice relative to the checkerboard can be calculated (e.g., the firstattitude information of the imaging device relative to the screen) byanalyzing a PnP (Perspective-N-Point) problem. The first attitudeinformation can comprise a position information of the first set ofimages and a distance information from the imaging device to the screen.In some instances, the position information of the first set of imagescan comprise a position information of the monocular camera, thebinocular camera or the multocular camera, and a respective positioninformation of the binocular or multocular camera. The first attitudeinformation can be analyzed to obtain an attitude data, which attitudedata comprising a data value of a central position of the first set ofimages on the screen and a distance value from the imaging device to thescreen. In some embodiments, a first calibration signal A can begenerated from the attitude data in a manner shown in FIG. 4. A centralposition of images captured by the imaging device (e.g., the centralposition of the first set of images on the screen) can be representedusing a ring-shaped pattern shown by A in FIG. 4. A diameter of thering-shaped pattern can correspond to the distance information from theimaging device to the screen. For instance, a larger radius of the ringcan correspond to a smaller distance from the imaging device to thescreen, and vice versa. It will be appreciated that, the calibrationsignal can be provided in various shapes in addition to a ring-shapedpattern, such as a dot, a crosshair, a polygon or a combination ofvarious patterns. The first calibration signal, which represents acurrent attitude of the imaging device, can be highlighted on thecheckerboard displayed on the screen of the computer using a red coloror a flashing signal, such that the user can clearly observe the signal.

Once the first calibration signal is displayed on the screen, a guidingsignal can be obtained from a predetermined strategy for imaging devicecalibration and the first attitude information, and the guiding signalcan be displayed on the screen. In some instances, as shown in FIG. 4,the first calibration signal A can be positioned on a preset calibrationpath. A second attitude information can be obtained from the presetcalibration path and the first attitude information, and the guidingsignal can be generated from the second attitude information.Alternatively, a dynamic calibration path can be generated from adynamic path generation rule and the first calibration signal A. Asecond attitude information can be obtained from the dynamic calibrationpath and the first attitude information, and the guiding signal can begenerated from the second attitude information. It will be appreciatedthat, the preset calibration path and the dynamic calibration path canboth satisfy a calibration rule and traverse the screen as much aspossible in the calibration.

The guiding signal (e.g., a guiding signal B shown in FIG. 5) can begenerated as discussed hereinabove (e.g., with a method of graphicallygenerating the first calibration signal) and displayed on the screen. Insome instances, the guiding signal B can be provided in an annulus shapehaving an inner ring and an outer ring, a region between the inner andouter rings being an acceptable error range. The guiding signal B shownon the screen can indicate the next target position to which the usermoves the imaging device.

Once the user moves the imaging device, a second set of images can becaptured by the imaging device, a third attitude information of theimaging device relative to the screen can be calculated, and a secondcalibration signal can be generated from the third attitude information.The second calibration signal can be displayed on the screen.Optionally, a new guiding signal can be generated from the second set ofimages or the third attitude information after displaying the secondcalibration signal on the screen.

A plurality of sets of images for calibration can be captured by theimaging device when the imaging device is moved in accordance with theguiding signal along the preset calibration path or the dynamiccalibration path. Those sets of images among the plurality of sets ofimages satisfying the calibration requirement can be saved into adatabase. No new guiding signal can be generated if the number of thestored images for calibration satisfies a calculation requirement. Acalibration data can be calculated, and a calibration precision can becalculated from the calibration data. A determination can be made as towhether the imaging device calibration is acceptable based upon thecalculated calibration precision.

Embodiments in which the imaging device being moved in calibrating theimaging device are discussed hereinabove. It will be appreciated that,the calibration can be implemented by moving the screen of the computer.The imaging device calibration can be effected with either approach.

The method for calibrating an imaging device in accordance withembodiments of the disclosure are described hereinabove. A descriptionof an imaging device in accordance with embodiments of the disclosurewill be provided. The imaging device can be used in an imaging devicecalibration system effecting a human-computer interaction. The systemcan comprise the imaging device and a computer.

Referring to FIG. 6, an example of the imaging device in accordance withembodiments of the disclosure can comprise an attitude informationobtaining module 601, a calibration signal module 602 and a guidingsignal module 603. The attitude information obtaining module 601 can beconfigured to calculate a first attitude information of the imagingdevice relative to a screen based upon a first set of images captured bythe imaging device, each image in the first set of images comprising acheckerboard information which is entirely or partially displayed on thescreen. The calibration signal module 602 can be configured to generatea first calibration signal from the first attitude informationcalculated by the attitude information obtaining module 601, and displaythe first calibration signal on a checkerboard on the screen. Theguiding signal module 603 can be configured to display a guiding signalon the screen, such that a user can move the imaging device or thescreen in accordance with the guiding signal.

In some embodiments of the disclosure, when the user is calibrating theimaging device, the attitude information obtaining module 601 cancalculate the first attitude information of the imaging device relativeto the screen from the first set of images captures by the imagingdevice. The calibration signal module 602 can generate the firstcalibration signal from the first attitude information and display thefirst calibration signal on the checkerboard on the screen. The guidingsignal module 603 can display the guiding signal on the screen, suchthat the user can simply move the imaging device in accordance with theguiding signal. Therefore, a user having no related experience andtheory can move a position of the imaging device or the screen inaccordance with the calibration signal and the guiding signal, reducinga difficulty and improving an operability in calibrating the imagingdevice.

As shown in FIG. 7, in some embodiments of the disclosure, the imagingdevice can further comprise a guiding signal generating module 701configured to generate the guiding signal based upon a predeterminedstrategy and/or the first attitude information.

As shown in FIG. 7, in some embodiments of the disclosure, the guidingsignal generating module 701 can be configured to obtain a secondattitude information based upon a preset calibration path and the firstattitude information, and generate the guiding signal from the secondattitude information. Alternatively, the guiding signal generatingmodule 701 can be configured to generate a dynamic calibration pathbased upon a dynamic path generation rule and the first calibrationsignal, obtain a second attitude information based upon the dynamiccalibration path and the first attitude information, and generate theguiding signal from the second attitude information.

In the embodiments of the disclosure, the guiding signal generatingmodule 701 can be added into the imaging device to generate the guidingsignal, such that the technical solution is more feasible.

As shown in FIG. 7, in some embodiments of the disclosure, the imagingdevice can further comprise an image capturing module 702 configured tocapture the first set of images using a camera pointing to the screen.

In the embodiments of the disclosure, the image capturing module 702 canbe added into the imaging device to capture the first set of images,such that the technical solution is more complete.

As shown in FIG. 7, in some embodiments of the disclosure, the imagingdevice can further comprise an image analyzing module 703 configured toanalyze each image in the first set of images to extract corner pointarrays, determine whether the first set of images satisfy a calibrationrequirement based upon each one of the corner point arrays, save thefirst set of images if the first set of images satisfy the calibrationrequirement or delete the first set of images if the first set of imagesdo not satisfy the calibration requirement.

In the embodiments of the disclosure, a confirmation can be made by theimage analyzing module 703 as to whether the first of images satisfy thecalibration requirement. Therefore, resources wasted in processingincorrect images can be reduced.

In some embodiments of the disclosure, the calibration signal module 602can be configured to analyze the first attitude information to obtain anattitude data, generate the first calibration signal from the attitudedata, and display the first calibration signal on the screen.

In the embodiments of the disclosure, the calibration signal can begenerated by the calibration signal module 602 from the first attitudeinformation, making the technical solution more complete.

In some embodiments of the disclosure, the calibration signal module 602can be further configured to, when the user adjusts the imaging devicein accordance with the guiding signal, calculate a third attitudeinformation of the imaging device relative to the screen from a secondset of images captured by the imaging device, generate a secondcalibration signal fromn the third attitude information, and display thesecond calibration signal on the screen.

As shown in FIG. 7, in some embodiments of the disclosure, the imagingdevice can further comprise a calibration adjustment module 704. Thecalibration signal module 602 can be further configured to, when theuser adjusts the imaging device in accordance with the guiding signal,calculate a third attitude information of the imaging device relative tothe screen from a second set of images captured by the imaging device,generate a second calibration signal from the third attitudeinformation, and display the second calibration signal on the screen.The calibration adjustment module 704 can be configured to generate anew guiding signal from the second set of images or the third attitudeinformation.

In the embodiments of the disclosure, the calibration adjustment module704 can operate based upon the captured second set of images after theuser movs the imaging device in accordance with the guiding signal,making the technical solution more complete.

As shown in FIG. 7, in some embodiments of the disclosure, the imagingdevice can further comprise a calibration precision calculating module705 configured to, when the user moves the imaging device in accordancewith the guiding signal, capture a plurality of sets of images forcalibration using the imaging device, and save those sets of imagesamong the plurality of sets of images satisfying a calibrationrequirement into a database; and stop generating the guiding signal andcalculate a calibration precision when the number of the images forcalibration reaches a preset number.

In the embodiments of the disclosure, the calibration precision can becalculated by the calibration precision calculating module 705 upon acompletion of the calibration process, making the technical solutionmore complete.

An interaction between modules of the imaging device in accordance withembodiment of the disclosure will be described in the context of apractical application scenario.

In some embodiments, the imaging device calibration system can implementthe method for calibrating an imaging device. The imaging devicecalibration system can effect a human-computer interaction. The imagingdevice calibration system can comprise an imaging device and a computer.

Once the imaging device is connected with the computer, a checkerboardcan be displayed on a screen of the computer, as shown in FIG. 7. A usercan start the process of calibrating the imaging device by pointing theimaging device to the screen of the computer displaying a checkerboard.It will be appreciated that, the imaging device can be a monocularcamera, a binocular camera or a multocular camera. The first set ofimages can comprise only one image if the imaging device is a monocularcamera. The first set of images can comprise a plurality of images ifthe imaging device is a multocular camera, the number of the imagesbeing equal to the number of lenses of the multocular camera. In someembodiments, the image capturing module 702 can obtain the first set ofimages as shown in FIG. 2. The image analyzing module 703 can extractthe corner point arrays as shown in FIG. 3 from the checkerboard in thefirst set of images, and make a determination as to whether the firstset of images satisfy a calibration requirement based on the cornerpoint arrays. The image analyzing module 703 can delete the first set ofimages if the calibration requirement is not satisfied; otherwise, theimage analyzing module 703 can save the first set of images if thecalibration requirement is satisfied. The attitude information obtainingmodule 601 can calculate a current attitude of the imaging devicerelative to the checkerboard (e.g., the first attitude information ofthe imaging device relative to the screen) by analyzing a PnP(Perspective-N-Point) problem. The first attitude information cancomprise a position information of the first set of images and adistance information from the imaging device to the screen. In someinstances, the position information of the first set of images cancomprise a position information of the monocular camera, the binocularcamera or the multocular camera, and a respective position informationof the binocular or multocular camera. The attitude informationobtaining module 601 can analyze the first attitude information toobtain an attitude data, which attitude data comprising a data value ofa central position of the first set of images on the screen and adistance value from the imaging device to the screen. In someembodiments, the calibration signal module 602 can generate a firstcalibration signal A from the attitude data in a manner as shown in FIG.4. A central position of images captured by the imaging device (e.g.,the central position of the first set of images on the screen) can berepresented using a ring-shaped pattern shown by A in FIG. 4. A diameterof the ring-shaped pattern can correspond to the distance informationfrom the imaging device to the screen. For instance, a larger radius ofthe ring can correspond to a smaller distance from the imaging device tothe screen, and vice versa. It will be appreciated that, the calibrationsignal can be provided in various shapes in addition to a ring-shapedpattern, such as a dot, a crosshair, a polygon or a combination ofvarious patterns. The first calibration signal, which represents acurrent attitude of the imaging device, can be highlighted on thecheckerboard displayed on the screen of the computer using a red coloror a flashing signal, such that the user can clearly observe the signal.

Once the first calibration signal is displayed on the screen, theguiding signal generating module 701 can obtain a guiding signal from apredetermined strategy for imaging device calibration and the firstattitude information, and display the guiding signal on the screen. Insome instances, as shown in FIG. 4, the first calibration signal A canbe positioned on a preset calibration path. The guiding signalgenerating module 701 can obtain a second attitude information from thepreset calibration path and the first attitude information, and generatethe guiding signal from the second attitude information. Alternatively,the guiding signal generating module 701 can generate a dynamiccalibration path based upon a dynamic path generation rule and the firstcalibration signal A, obtain a second attitude information from thedynamic calibration path and the first attitude information, andgenerate the guiding signal from the second attitude information. Itwill be appreciated that, the preset calibration path and the dynamiccalibration path can both satisfy a calibration rule and traverse thescreen as much as possible in the calibration.

The guiding signal (e.g., a guiding signal B shown in FIG. 5) can begenerated as discussed hereinabove (e.g., with a method of graphicallygenerating the first calibration signal) and displayed on the screen bythe guiding signal module 603. In some instances, the guiding signal Bcan be provided in an annulus shape having an inner ring and an outerring, a region between the inner and outer rings being an acceptableerror range. The guiding signal B shown on the screen can indicate thenext target position to which the user moves the imaging device.

Once the user movesthe imaging device, the image capturing module 702can capture a second set of images, the attitude information obtainingmodule 601 can calculate a third attitude information of the imagingdevice relative to the screen, the calibration signal module cangenerate a second calibration signal from the third attitude informationand display the second calibration signal on the screen. Optionally, thecalibration adjustment module 704 can generate a new guiding signal fromthe second set of images or the third attitude information afterdisplaying the second calibration signal on the screen.

A plurality of sets of images for calibration can be captured by theimaging device when the imaging device is moved in accordance with theguiding signal along the preset calibration path or the dynamiccalibration path. Those sets of images among the multiple sets of imagessatisfying the calibration requirement can be saved into a database. Thecalibration precision module 705 can stop generating the guiding signalif the number of stored images for calibration satisfies a calculationrequirement, calculate a calibration data, and calculate a calibrationprecision from the calibration data. A determination can be made as towhether the imaging device calibration is acceptable based upon thecalculated calibration precision.

Embodiments in which the imaging device being moved in calibrating theimaging device are discussed hereinabove. It will be appreciated that,the calibration can be implemented by moving the screen of the computer.The imaging device calibration can be effected with either approach.

It will be apparent to those skilled in the art that, operations ofsystems, devices and units can be clear with reference to correspondingprocesses of the methods as described hereinabove.

It will be appreciated that, the system, device and method disclosed inembodiments of the disclosure can be implemented in other manners. Forexample, the described device embodiments are merely illustrative. Forexample, a division of units is merely a division based upon a logicalfunction. Various divisions can be possible in actual implementation.For example, multiple units or components can be combined or integratedon another system. For example, some features can be ignored or not beperformed. For example, a mutual coupling, a direct coupling or acommunication connection as shown or discussed can be an indirectcoupling or a communication connection via an interface, a means or anunit. The coupling can be an electrical coupling or a mechanicalcoupling.

The units illustrated as separate parts may or may not be physicallyseparated. The parts shown as units may or may not be physical units.For example, the parts can be provided at the same location ordistributed over a plurality of network units. All or part of themodules can be selected to implement the embodiments of the disclosureaccording to actual requirements.

Various functional units in the embodiments of the disclosure may beintegrated in one processing unit. The functional units can be separateand physical units. Two or more units may be integrated in one unit. Theintegrated units may be implemented as hardware or software functionalunits.

The integrated units, if implemented as software functional units andsold or used as independent products, may be stored in acomputer-readable storage medium. With such an understanding, thetechnical solution of the disclosure may be embodied as a softwareproduct. The computer software product is stored in a storage medium andincludes several instructions for causing a computing device (which canbe, e.g., a processor, a PC, a server, or a network device) to executeall or part of steps of the method according to the various embodimentsof the present disclosure. The above mentioned storage medium includes:various media capable of storing program code, such as a U disk, aremovable hard disk, ROM (read-only memory), RAM (random access memory),a diskette, an optical disk, etc.

The foregoing embodiments are intended to merely illustrate rather thanlimit the technical solution of the disclosure. While the disclosure hasbeen illustrated with reference to the embodiments as describedhereinabove, it will be obvious to those skilled in the art thatvariations may be made to the technical solutions disclosed by theembodiments or substitutions may be made to part of technical features.These variations or substitutions should by no means depart from thespirit and scope of the technical solutions of the embodiments of thedisclosure.

What is claimed is:
 1. A method for calibrating an imaging device comprising: calculating attitude information of the imaging device relative to a screen based at least in part on an image captured by the imaging device; generating a calibration signal based at least in part on the attitude information; displaying the calibration signal on the screen; and displaying a guiding signal on the screen.
 2. The method of claim 1, further comprising, before displaying the guiding signal on the screen: generating the guiding signal based upon a predetermined strategy and/or the attitude information.
 3. The method of claim 2, wherein: the attitude information is first attitude information, and generating the guiding signal based upon the predetermined strategy and/or the attitude information comprises: obtaining second attitude information based upon a preset calibration path and the first attitude information, and generating the guiding signal based at least in part on the second attitude information; or generating a dynamic calibration path based upon a dynamic path generation rule and the calibration signal, obtaining the second attitude information based upon the dynamic calibration path and the first attitude information, and generating the guiding signal based at least in part on the second attitude information.
 4. The method of claim 1, further comprising, before generating the calibration signal: analyzing the image to extract a corner point array; and determining that the image satisfies a calibration requirement based upon the corner point array.
 5. The method of claim 1, wherein generating the calibration signal comprises: analyzing the attitude information to obtain attitude data; and generating the calibration signal based at least in part on the attitude data.
 6. The method of claim 1, wherein the image is a first image, the attitude information is first attitude information, and the calibration signal is a first calibration signal, the method further comprising, after displaying the guiding signal on the screen: in response to the user adjusting the imaging device in accordance with the guiding signal, calculating second attitude information of the imaging device relative to the screen based at least in part on a second image captured by the imaging device; generating a second calibration signal based at least in part on the second attitude information; and displaying the second calibration signal on the screen.
 7. The method of claim 6, further comprising: generating a new guiding signal based at least in part on the second image or the second attitude information; and displaying the new guiding signal on the screen.
 8. The method of claim 1, wherein: the image contains at least a portion of a checkerboard displayed on the screen, and displaying the calibration signal on the screen comprises displaying the calibration signal on the checkerboard on the screen.
 9. The method of claim 1, wherein: the attitude information comprises position information of the image and information of a distance from the imaging device to the screen, and the position information of the image comprises a position of a center of the imaging device.
 10. The method of claim 1, wherein the guiding signal includes a ring shape having a diameter corresponding to a distance from the imaging device to the screen.
 11. An imaging device comprising: a processor; and a memory storing instructions that, when executed by the processor, cause the processor to: calculate attitude information of the imaging device relative to a screen based at least in part on an image captured by the imaging device; generate a calibration signal based at least in part on the attitude information; display the calibration signal on the screen; and display a guiding signal on the screen.
 12. The imaging device of claim 11, wherein the instructions further cause the processor to: generate the guiding signal based upon a predetermined strategy and/or the attitude information.
 13. The imaging device of claim 12, wherein: the attitude information is first attitude information, and the instructions further cause the processor to: obtain second attitude information based upon a preset calibration path and the first attitude information, and generate the guiding signal based at least in part on the second attitude information; or generate a dynamic calibration path based upon a dynamic path generation rule and the calibration signal, obtain the second attitude information based upon the dynamic calibration path and the first attitude information, and generate the guiding signal based at least in part on the second attitude information.
 14. The imaging device of claim 11, wherein the instructions further cause the processor to: analyze the image to extract a corner point array; determine that the image satisfies a calibration requirement based upon the corner point array.
 15. The imaging device of claim 11, wherein the instructions further cause the processor to: analyze the attitude information to obtain attitude data; and generate the calibration signal based at least in part on the attitude data.
 16. The imaging device of claim 11, wherein: the image is a first image, the attitude information is first attitude information, and the calibration signal is a first calibration signal, and the instructions further cause the processor to, after displaying the guiding signal on the screen: in response to the user adjusting the imaging device in accordance with the guiding signal, calculate second attitude information of the imaging device relative to the screen based at least in part on a second image captured by the imaging device; generate a second calibration signal based at least in part on the second attitude information; and display the second calibration signal on the screen.
 17. The imaging device of claim 16, wherein the instructions further cause the processor to: generate a new guiding signal based at least in part on the second image or the second attitude information, and display the new guiding signal on the screen.
 18. The imaging device of claim 11, wherein: the image contains at least a portion of a checkerboard displayed on the screen, and the instructions further cause the processor to display the calibration signal on the checkerboard on the screen.
 19. The imaging device of claim 11, wherein: the attitude information comprises position information of the image and information of a distance from the imaging device to the screen, and the position information of the image comprises a position of a center of the imaging device.
 20. The imaging device of claim 11, wherein the guiding signal includes a ring shape having a diameter corresponding to a distance from the imaging device to the screen. 